package

Purpose

Runs the packaging phase of Grails' runtime. This is mainly useful when used by other scripts.

Examples

As an include:

includeTargets << new File ( "${grailsHome}/scripts/Package.groovy" )

As a command:

grails package

Description

Usage:

grails package

When used as an include you need to supply the following at the top of your Gant script:

includeTargets << new File ( "${grailsHome}/scripts/Package.groovy" )

Once this is in place there are a number of useful commands that can be re-used:

Typically packageApp is the most useful as it performs all the necessary packaging steps